<?php
namespace App\Models;


use Illuminate\Database\Eloquent\Model;

/**
 * 第三方登录
 *
 * @author Miluo Huang
 *
 */
class OtherLogin extends Model
{

	protected $table = 'other_login';

	static $type = [
		1 => '微博',
	    2 => '微信',
	    3 => 'QQ'
	];

	static $from = [
		1 => '手机',
		2 => '微信',
	];

	public static function boot()
	{
		parent::boot();

		static::creating(function ($model) {

		});

		static::saving(function ($model) {

		});
	}

}
